package com.forekenow.Demo12.Exercise;

import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

public class Test {
    public static void main(String[] args) {
        List<Student> list = new ArrayList<>();
//        for (int i = 0; i < 5; i++) {
//            Student student = new Student();
//            System.out.println("请输入学号");
//            Scanner scanner = new Scanner(System.in);
//            int id = scanner.nextInt();
//            student.setId(id);
//            System.out.println("请输入姓名");
//            Scanner scanner2 = new Scanner(System.in);
//            String name = scanner2.next();
//            student.setName(name);
//            System.out.println("请输入年龄");
//            Scanner scanner3 = new Scanner(System.in);
//            int age = scanner3.nextInt();
//            student.setAge(age);
//            System.out.println("请输入大学");
//            Scanner scanner4 = new Scanner(System.in);
//            String collage = scanner4.next();
//            student.setCollage(collage);
//            list.add(student);
//        }
        Tools tools = new Tools();
//        tools.write(list);
        tools.read("Student.txt");

    }
}
